﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<CRM.Database.Model.TechnicRequests>" %>

<fieldset>
    <legend>Отчет о проделанной работе</legend>
    <br />
    <table>
        <tr>
            <td>
                <%:Html.DevExpress().Memo(settings => 
                    {
                        settings.ReadOnly = true;
                        settings.Name = "Report";
                        settings.Width = 500;
                        settings.Height = 300;
                    }).Bind(Model.Report).GetHtml()%>
            </td>
        </tr>
    </table>
</fieldset>

<%--<fieldset>
    <legend>TechnicRequests</legend>

    <div class="display-label">Report</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Report) %>
    </div>
</fieldset>
<p>
    <%: Html.ActionLink("Edit", "Edit", new { /* id=Model.PrimaryKey */ }) %> |
    <%: Html.ActionLink("Back to List", "Index") %>
</p>
--%>